home *** CD-ROM | disk | FTP | other *** search
Wrap
XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd((((3333XXXX)))) NNNNAAAAMMMMEEEE XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd - The BulletinBoard widget class SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS #include <Xm/BulletinB.h> VVVVEEEERRRRSSSSIIIIOOOONNNN This page documents Motif 2.1. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN BulletinBoard is a composite widget that provides simple geometry management for child widgets. It does not force positioning on its children, but can be set to reject geometry requests that result in overlapping children. BulletinBoard is the base widget for most dialog widgets and is also used as a general container widget. Modal and modeless dialogs are implemented as collections of widgets that include a DialogShell, a BulletinBoard (or subclass) child of the shell, and various dialog components (buttons, labels, and so on) that are children of BulletinBoard. BulletinBoard defines callbacks useful for dialogs (focus, map, unmap), which are available for application use. If its parent is a DialogShell, BulletinBoard passes title and input mode (based on dialog style) information to the parent, which is responsible for appropriate communication with the window manager. The default value for XXXXmmmmNNNNiiiinnnniiiittttiiiiaaaallllFFFFooooccccuuuussss is the value of XXXXmmmmNNNNddddeeeeffffaaaauuuullllttttBBBBuuuuttttttttoooonnnn. BulletinBoard uses the _X_m_Q_T_t_a_k_e_s_D_e_f_a_u_l_t trait, and holds the _X_m_Q_T_d_i_a_l_o_g_S_h_e_l_l_S_a_v_v_y and _X_m_Q_T_s_p_e_c_i_f_y_R_e_n_d_e_r_T_a_b_l_etraits. CCCCllllaaaasssssssseeeessss BulletinBoard inherits behavior, resources, and traits from the CCCCoooorrrreeee, CCCCoooommmmppppoooossssiiiitttteeee, CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt, and XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr classes. The class pointer is _x_m_B_u_l_l_e_t_i_n_B_o_a_r_d_W_i_d_g_e_t_C_l_a_s_s. The class name is XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd. NNNNeeeewwww RRRReeeessssoooouuuurrrrcccceeeessss The following table defines a set of widget resources used by the programmer to specify data. The programmer can also set the resource values for the inherited classes to set attributes for this widget. To reference a resource by name or by class in a ....XXXXddddeeeeffffaaaauuuullllttttssss file, remove the XXXXmmmmNNNN or XXXXmmmmCCCC prefix and use the remaining letters. To specify one of the defined values for a resource in a ....XXXXddddeeeeffffaaaauuuullllttttssss file, remove the XXXXmmmm prefix and use the remaining letters (in either lowercase or uppercase, but include any underscores between Page 1 (printed 4/6/01) XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd((((3333XXXX)))) words). The codes in the access column indicate if the given resource can be set at creation time (C), set by using XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss (S), retrieved by using XXXXttttGGGGeeeettttVVVVaaaalllluuuueeeessss (G), or is not applicable (N/A). XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt NNNNaaaammmmeeee CCCCllllaaaassssssss TTTTyyyyppppeeee DDDDeeeeffffaaaauuuulllltttt AAAAcccccccceeeessssssss XmNallowOverlap XmCAllowOverlap Boolean True CSG XmNautoUnmanage XmCAutoUnmanage Boolean True CG XmNbuttonFontList XmCButtonFontList XmFontList dynamic CSG XmNbuttonRenderTable XmCButtonRenderTable XmRenderTable dynamic CSG XmNcancelButton XmCWidget Widget NULL SG XmNdefaultButton XmCWidget Widget NULL SG XmNdefaultPosition XmCDefaultPosition Boolean True CSG XmNdialogStyle XmCDialogStyle unsigned char dynamic CSG XmNdialogTitle XmCDialogTitle XmString NULL CSG XmNfocusCallback XmCCallback XtCallbackList NULL C XmNlabelFontList XmCLabelFontList XmFontList dynamic CSG XmNlabelRenderTable XmCLabelRenderTable XmRenderTable dynamic CSG XmNmapCallback XmCCallback XtCallbackList NULL C XmNmarginHeight XmCMarginHeight Dimension 10 CSG XmNmarginWidth XmCMarginWidth Dimension 10 CSG XmNnoResize XmCNoResize Boolean False CSG XmNresizePolicy XmCResizePolicy unsigned char XmRESIZE_ANY CSG XmNshadowType XmCShadowType unsigned char XmSHADOW_OUT CSG XmNtextFontList XmCTextFontList XmFontList dynamic CSG XmNtextRenderTable XmCTextRenderTable XmRenderTable dynamic CSG XmNtextTranslations XmCTranslations XtTranslations NULL C XmNunmapCallback XmCCallback XtCallbackList NULL C XXXXmmmmNNNNaaaalllllllloooowwwwOOOOvvvveeeerrrrllllaaaapppp Controls the policy for overlapping child widgets. If this resource is True, BulletinBoard allows geometry requests that result in overlapping children. XXXXmmmmNNNNaaaauuuuttttooooUUUUnnnnmmmmaaaannnnaaaaggggeeee Controls whether or not BulletinBoard is automatically unmanaged after a button is activated. If this resource is True on initialization and if the BulletinBoard's parent is a DialogShell, BulletinBoard adds a callback to button children (PushButtons, PushButtonGadgets, and DrawnButtons) that unmanages the BulletinBoard when a button is activated. If this resource is False on initialization or if the BulletinBoard's parent is not a DialogShell, the BulletinBoard is not automatically unmanaged. For BulletinBoard subclasses with Apply or Help buttons, activating those buttons does not automatically unmanage the BulletinBoard. Page 2 (printed 4/6/01) XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd((((3333XXXX)))) XXXXmmmmNNNNbbbbuuuuttttttttoooonnnnFFFFoooonnnnttttLLLLiiiisssstttt Specifies the font list used for button descendants. See the XXXXmmmmNNNNbbbbuuuuttttttttoooonnnnRRRReeeennnnddddeeeerrrrTTTTaaaabbbblllleeee resource. XXXXmmmmNNNNbbbbuuuuttttttttoooonnnnRRRReeeennnnddddeeeerrrrTTTTaaaabbbblllleeee Specifies the render table used for BulletinBoard's button descendants. If this value is NULL at initialization, the parent hierarchy of the widget is searched for an ancestor that holds the _X_m_Q_T_s_p_e_c_i_f_y_R_e_n_d_e_r_T_a_b_l_e trait. If such an ancestor is found, the render table is initialized to the XXXXmmmmBBBBUUUUTTTTTTTTOOOONNNN____RRRREEEENNNNDDDDEEEERRRR____TTTTAAAABBBBLLLLEEEE value of the ancestor widget. If no such ancestor is found, the default is implementation dependent. Refer to XXXXmmmmRRRReeeennnnddddeeeerrrrTTTTaaaabbbblllleeee(3) for more information on the creation and structure of a render table. XXXXmmmmNNNNccccaaaannnncccceeeellllBBBBuuuuttttttttoooonnnn Specifies the widget ID of the CCCCaaaannnncccceeeellll button. BulletinBoard's subclasses, which define a CCCCaaaannnncccceeeellll button, set this resource. BulletinBoard does not directly provide any behavior for that button. XXXXmmmmNNNNddddeeeeffffaaaauuuullllttttBBBBuuuuttttttttoooonnnn Specifies the widget ID of the default button. Some BulletinBoard subclasses, which define a default button, set this resource. BulletinBoard defines translations and installs accelerators that activate that button when KKKKAAAAccccttttiiiivvvvaaaatttteeee is pressed and the keyboard focus is not in another button. Controls the positioning of a DialogShell managing a BulletinBoard. If the BulletinBoard is not being managed by a DialogShell, then this resource has no effect. If XXXXmmmmNNNNddddeeeeffffaaaauuuullllttttPPPPoooossssiiiittttiiiioooonnnn is True, the DialogShell will center itself at the center of its own parent. For example, if the parent of the DialogShell is an ApplicationShell, then the center of the DialogShell will be at the same coordinates as the center of the ApplicationShell. If the DialogShell becomes unmapped (but stays managed) and then remapped, this resource has no influence on the DialogShell's position. If this resource is False, the DialogShell does not automatically center itself. XXXXmmmmNNNNddddiiiiaaaallllooooggggSSSSttttyyyylllleeee Indicates the dialog style associated with the BulletinBoard. If the parent of the BulletinBoard is a DialogShell, the parent's XXXXmmmmNNNNmmmmwwwwmmmmIIIInnnnppppuuuuttttMMMMooooddddeeee is set according to the value of this resource. This Page 3 (printed 4/6/01) XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd((((3333XXXX)))) resource can be set only if the BulletinBoard is unmanaged. Possible values for this resource include the following: XXXXmmmmDDDDIIIIAAAALLLLOOOOGGGG____SSSSYYYYSSSSTTTTEEEEMMMM____MMMMOOOODDDDAAAALLLL Used for dialogs that must be responded to before any other interaction in any application. XXXXmmmmDDDDIIIIAAAALLLLOOOOGGGG____PPPPRRRRIIIIMMMMAAAARRRRYYYY____AAAAPPPPPPPPLLLLIIIICCCCAAAATTTTIIIIOOOONNNN____MMMMOOOODDDDAAAALLLL Used for dialogs that must be responded to before some other interactions in ancestors of the widget. XXXXmmmmDDDDIIIIAAAALLLLOOOOGGGG____AAAAPPPPPPPPLLLLIIIICCCCAAAATTTTIIIIOOOONNNN____MMMMOOOODDDDAAAALLLL Used for dialogs that must be responded to before some other interactions in ancestors of the widget. This value is the same as XXXXmmmmDDDDIIIIAAAALLLLOOOOGGGG____PPPPRRRRIIIIMMMMAAAARRRRYYYY____AAAAPPPPPPPPLLLLIIIICCCCAAAATTTTIIIIOOOONNNN____MMMMOOOODDDDAAAALLLL, and remains for compatibility. XXXXmmmmDDDDIIIIAAAALLLLOOOOGGGG____FFFFUUUULLLLLLLL____AAAAPPPPPPPPLLLLIIIICCCCAAAATTTTIIIIOOOONNNN____MMMMOOOODDDDAAAALLLL Used for dialogs that must be responded to before some other interactions in the same application. XXXXmmmmDDDDIIIIAAAALLLLOOOOGGGG____MMMMOOOODDDDEEEELLLLEEEESSSSSSSS Used for dialogs that do not interrupt interaction of any application. This is the default when the parent of the BulletinBoard is a DialogShell. XXXXmmmmDDDDIIIIAAAALLLLOOOOGGGG____WWWWOOOORRRRKKKK____AAAARRRREEEEAAAA Used for BulletinBoard widgets whose parents are not DialogShells. XXXXmmmmNNNNddddiiiiaaaallllooooggggSSSSttttyyyylllleeee is forced to have this value when the parent of the BulletinBoard is not a DialogShell. Posting a modal dialog in response to a button down or key down event (via translation actions or callbacks) can cause the corresponding button up or key up event to be lost. For example, posting a modal dialog from an XXXXmmmmNNNNiiiinnnnccccrrrreeeemmmmeeeennnnttttCCCCaaaallllllllbbbbaaaacccckkkk of XXXXmmmmSSSSccccrrrroooollllllllBBBBaaaarrrr will cause the loss of the button up event, causing the XXXXmmmmSSSSccccrrrroooollllllllBBBBaaaarrrr to auto-increment indefinitely. XXXXmmmmNNNNddddiiiiaaaallllooooggggTTTTiiiittttlllleeee Specifies the dialog title. If this resource is not NULL, and the parent of the BulletinBoard is a Page 4 (printed 4/6/01) XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd((((3333XXXX)))) subclass of WMShell, BulletinBoard sets the XXXXmmmmNNNNttttiiiittttlllleeee and XXXXmmmmNNNNttttiiiittttlllleeeeEEEEnnnnccccooooddddiiiinnnngggg of its parent. If the only character set in XXXXmmmmNNNNddddiiiiaaaallllooooggggTTTTiiiittttlllleeee is ISO8859-1, XXXXmmmmNNNNttttiiiittttlllleeee is set to the string of the title, and XXXXmmmmNNNNttttiiiittttlllleeeeEEEEnnnnccccooooddddiiiinnnngggg is set to _S_T_R_I_N_G. If XXXXmmmmNNNNddddiiiiaaaallllooooggggTTTTiiiittttlllleeee contains character sets other than ISO8859-1, XXXXmmmmNNNNttttiiiittttlllleeee is set to the string of the title converted to a compound text string, and XXXXmmmmNNNNttttiiiittttlllleeeeEEEEnnnnccccooooddddiiiinnnngggg is set to _C_O_M_P_O_U_N_D__T_E_X_T. The direction of the title is based on the XXXXmmmmNNNNllllaaaayyyyoooouuuuttttDDDDiiiirrrreeeeccccttttiiiioooonnnn resource of the widget. XXXXmmmmNNNNffffooooccccuuuussssCCCCaaaallllllllbbbbaaaacccckkkk Specifies the list of callbacks that is called when the BulletinBoard widget or one of its descendants accepts the input focus. The callback reason is XXXXmmmmCCCCRRRR____FFFFOOOOCCCCUUUUSSSS. XXXXmmmmNNNNllllaaaabbbbeeeellllFFFFoooonnnnttttLLLLiiiisssstttt Specifies the font list used for label descendants. See the XXXXmmmmNNNNllllaaaabbbbeeeellllRRRReeeennnnddddeeeerrrrTTTTaaaabbbblllleeee resource. XXXXmmmmNNNNllllaaaabbbbeeeellllRRRReeeennnnddddeeeerrrrTTTTaaaabbbblllleeee Specifies the render table used for BulletinBoard's label descendants. If this value is NULL at initialization, the parent hierarchy of the widget is searched for an ancestor that holds the _X_m_Q_T_s_p_e_c_i_f_y_R_e_n_d_e_r_T_a_b_l_e trait. If such an ancestor is found, the render table is initialized to the XXXXmmmmLLLLAAAABBBBEEEELLLL____RRRREEEENNNNDDDDEEEERRRR____TTTTAAAABBBBLLLLEEEE value of the ancestor widget. If no such ancestor is found, the default is implementation dependent. Refer to XXXXmmmmRRRReeeennnnddddeeeerrrrTTTTaaaabbbblllleeee(3) for more information on the creation and structure of a render table. XXXXmmmmNNNNmmmmaaaappppCCCCaaaallllllllbbbbaaaacccckkkk Specifies the list of callbacks that is called only when the parent of the BulletinBoard is a DialogShell. In this case, this callback list is invoked when the BulletinBoard widget is mapped. The callback reason is XXXXmmmmCCCCRRRR____MMMMAAAAPPPP. DialogShells are usually mapped when the DialogShell is managed. XXXXmmmmNNNNmmmmaaaarrrrggggiiiinnnnHHHHeeeeiiiigggghhhhtttt Specifies the minimum spacing in pixels between the top or bottom edge of BulletinBoard and any child widget. XXXXmmmmNNNNmmmmaaaarrrrggggiiiinnnnWWWWiiiiddddtttthhhh Specifies the minimum spacing in pixels between the left or right edge of BulletinBoard and any child widget. Page 5 (printed 4/6/01) XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd((((3333XXXX)))) XXXXmmmmNNNNnnnnooooRRRReeeessssiiiizzzzeeee Controls whether or not resize controls are included in the window manager frame around the BulletinBoard's parent. If this resource is set to True, mmmmwwwwmmmm does not include resize controls in the window manager frame containing the parent of the BulletinBoard if the parent is a subclass of VendorShell. If this resource is set to False, the window manager frame does include resize controls. Other controls provided by mmmmwwwwmmmm can be included or excluded through the mmmmwwwwmmmm resources provided by VendorShell. XXXXmmmmNNNNrrrreeeessssiiiizzzzeeeePPPPoooolllliiiiccccyyyy Controls the policy for resizing BulletinBoard widgets. Possible values include XXXXmmmmRRRREEEESSSSIIIIZZZZEEEE____NNNNOOOONNNNEEEE Fixed size XXXXmmmmRRRREEEESSSSIIIIZZZZEEEE____AAAANNNNYYYY Shrink or grow as needed XXXXmmmmRRRREEEESSSSIIIIZZZZEEEE____GGGGRRRROOOOWWWW Grow only XXXXmmmmNNNNsssshhhhaaaaddddoooowwwwTTTTyyyyppppeeee Describes the shadow drawing style for BulletinBoard. This resource can have the following values: XXXXmmmmSSSSHHHHAAAADDDDOOOOWWWW____IIIINNNN Draws the BulletinBoard shadow so that it appears inset. This means that the bottom shadow visuals and top shadow visuals are reversed. XXXXmmmmSSSSHHHHAAAADDDDOOOOWWWW____OOOOUUUUTTTT Draws the BulletinBoard shadow so that it appears outset. XXXXmmmmSSSSHHHHAAAADDDDOOOOWWWW____EEEETTTTCCCCHHHHEEEEDDDD____IIIINNNN Draws the BulletinBoard shadow using a double line giving the effect of a line etched into the window, similar to the Separator widget. XXXXmmmmSSSSHHHHAAAADDDDOOOOWWWW____EEEETTTTCCCCHHHHEEEEDDDD____OOOOUUUUTTTT Draws the BulletinBoard shadow using a double line giving the effect of a line coming out of the window, similar to the Separator widget. Page 6 (printed 4/6/01) XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd((((3333XXXX)))) XXXXmmmmNNNNtttteeeexxxxttttFFFFoooonnnnttttLLLLiiiisssstttt Specifies the font list used for text descendants. See the XXXXmmmmNNNNtttteeeexxxxttttRRRReeeennnnddddeeeerrrrTTTTaaaabbbblllleeee resource. XXXXmmmmNNNNtttteeeexxxxttttRRRReeeennnnddddeeeerrrrTTTTaaaabbbblllleeee Specifies the render table used for BulletinBoard's text descendants. If this value is NULL at initialization, the parent hierarchy of the widget is searched for an ancestor that holds the _X_m_Q_T_s_p_e_c_i_f_y_R_e_n_d_e_r_T_a_b_l_e trait. If such an ancestor is found, the render table is initialized to the XXXXmmmmTTTTEEEEXXXXTTTT____RRRREEEENNNNDDDDEEEERRRR____TTTTAAAABBBBLLLLEEEE value of the ancestor widget. If no such ancestor is found, the default is implementation dependent. Refer to XXXXmmmmRRRReeeennnnddddeeeerrrrTTTTaaaabbbblllleeee(3) for more information on the creation and structure of a render table. XXXXmmmmNNNNtttteeeexxxxttttTTTTrrrraaaannnnssssllllaaaattttiiiioooonnnnssss It adds translations to any Text widget or Text widget subclass that is added as a child of BulletinBoard. XXXXmmmmNNNNuuuunnnnmmmmaaaappppCCCCaaaallllllllbbbbaaaacccckkkk Specifies the list of callbacks that is called only when the parent of the BulletinBoard is a DialogShell. In this case, this callback list is invoked when the BulletinBoard widget is unmapped. The callback reason is XXXXmmmmCCCCRRRR____UUUUNNNNMMMMAAAAPPPP. DialogShells are usually unmapped when the DialogShell is unmanaged. IIIInnnnhhhheeeerrrriiiitttteeeedddd RRRReeeessssoooouuuurrrrcccceeeessss BulletinBoard inherits behavior and resources from the superclasses described in the following tables. For a complete description of each resource, refer to the reference page for that superclass. XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt NNNNaaaammmmeeee CCCCllllaaaassssssss TTTTyyyyppppeeee DDDDeeeeffffaaaauuuulllltttt AAAAcccccccceeeessssssss XmNbottomShadowColor XmCBottomShadowColor Pixel dynamic CSG XmNbottomShadowPixmap XmCBottomShadowPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG XmNforeground XmCForeground Pixel dynamic CSG XmNhelpCallback XmCCallback XtCallbackList NULL C XmNhighlightColor XmCHighlightColor Pixel dynamic CSG XmNhighlightPixmap XmCHighlightPixmap Pixmap dynamic CSG XmNinitialFocus XmCInitialFocus Widget dynamic CSG XmNlayoutDirection XmCLayoutDirection XmDirection dynamic CG XmNnavigationType XmCNavigationType XmNavigationType XmTAB_GROUP CSG XmNpopupHandlerCallback XmCCallback XtCallbackList NULL C XmNshadowThickness XmCShadowThickness Dimension dynamic CSG Page 7 (printed 4/6/01) XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd((((3333XXXX)))) XmNstringDirection XmCStringDirection XmStringDirection dynamic CG XmNtopShadowColor XmCTopShadowColor Pixel dynamic CSG XmNtopShadowPixmap XmCTopShadowPixmap Pixmap dynamic CSG XmNtraversalOn XmCTraversalOn Boolean True CSG XmNunitType XmCUnitType unsigned char dynamic CSG XmNuserData XmCUserData XtPointer NULL CSG CCCCoooommmmppppoooossssiiiitttteeee RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt NNNNaaaammmmeeee CCCCllllaaaassssssss TTTTyyyyppppeeee DDDDeeeeffffaaaauuuulllltttt AAAAcccccccceeeessssssss XmNchildren XmCReadOnly WidgetList NULL G XmNinsertPosition XmCInsertPosition XtOrderProc NULL CSG XmNnumChildren XmCReadOnly Cardinal 0 G CCCCoooorrrreeee RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt NNNNaaaammmmeeee CCCCllllaaaassssssss TTTTyyyyppppeeee DDDDeeeeffffaaaauuuulllltttt AAAAcccccccceeeessssssss XmNaccelerators XmCAccelerators XtAccelerators dynamic N/A XmNancestorSensitive XmCSensitive Boolean dynamic G XmNbackground XmCBackground Pixel dynamic CSG XmNbackgroundPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG XmNborderColor XmCBorderColor Pixel XtDefaultForeground CSG XmNborderPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG XmNborderWidth XmCBorderWidth Dimension 0 CSG XmNcolormap XmCColormap Colormap dynamic CG XmNdepth XmCDepth int dynamic CG XmNdestroyCallback XmCCallback XtCallbackList NULL C XmNheight XmCHeight Dimension dynamic CSG XmNinitialResourcesPersistent XmCInitialResourcesPersistent Boolean True C XmNmappedWhenManaged XmCMappedWhenManaged Boolean True CSG XmNscreen XmCScreen Screen * dynamic CG XmNsensitive XmCSensitive Boolean True CSG XmNtranslations XmCTranslations XtTranslations dynamic CSG XmNwidth XmCWidth Dimension dynamic CSG XmNx XmCPosition Position 0 CSG XmNy XmCPosition Position 0 CSG CCCCaaaallllllllbbbbaaaacccckkkk IIIInnnnffffoooorrrrmmmmaaaattttiiiioooonnnn A pointer to the following structure is passed to each callback: typedef struct { int _r_e_a_s_o_n; XEvent * _e_v_e_n_t; } XmAnyCallbackStruct; _r_e_a_s_o_n Indicates why the callback was invoked _e_v_e_n_t Points to the _X_E_v_e_n_t that triggered the callback TTTTrrrraaaannnnssssllllaaaattttiiiioooonnnnssss XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd includes the translations from XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr. Page 8 (printed 4/6/01) XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd((((3333XXXX)))) AAAAddddddddiiiittttiiiioooonnnnaaaallll BBBBeeeehhhhaaaavvvviiiioooorrrr The XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd widget has the following additional behavior: <<<<KKKKeeeeyyyy>>>><<<<oooossssffffCCCCaaaannnncccceeeellll>>>>: Calls the activate callbacks for the cancel button if it is sensitive. If no cancel button exists and if the parent of the BulletinBoard is a manager, passes the event to the parent. <<<<KKKKeeeeyyyy>>>><<<<oooossssffffAAAAccccttttiiiivvvvaaaatttteeee>>>>: Calls the activate callbacks for the button with the keyboard focus. If no button has the keyboard focus, calls the activate callbacks for the default button if it is sensitive. In a List widget or single-line Text widget, the List or Text action associated with <<<<KKKKeeeeyyyy>>>><<<<oooossssffffAAAAccccttttiiiivvvvaaaatttteeee>>>>is called before the BulletinBoard actions associated with <<<<KKKKeeeeyyyy>>>><<<<oooossssffffAAAAccccttttiiiivvvvaaaatttteeee>>>>. In a multiline Text widget, any <<<<KKKKeeeeyyyy>>>><<<<oooossssffffAAAAccccttttiiiivvvvaaaatttteeee>>>>event except <<<<KKKKeeeeyyyy>>>><<<<EEEEnnnntttteeeerrrr>>>> calls the Text action associated with <<<<KKKKeeeeyyyy>>>><<<<oooossssffffAAAAccccttttiiiivvvvaaaatttteeee>>>>, then the BulletinBoard actions associated with <<<<KKKKeeeeyyyy>>>><<<<oooossssffffAAAAccccttttiiiivvvvaaaatttteeee>>>>. If no button has the focus, no default button exists, and the parent of the BulletinBoard is a manager, passes the event to the parent. <<<<FFFFooooccccuuuussssIIIInnnn>>>>: Calls the callbacks for XXXXmmmmNNNNffffooooccccuuuussssCCCCaaaallllllllbbbbaaaacccckkkk. When the focus policy is XXXXmmmmPPPPOOOOIIIINNNNTTTTEEEERRRR, the callbacks are called when the pointer enters the window. When the focus policy is XXXXmmmmEEEEXXXXPPPPLLLLIIIICCCCIIIITTTT, the callbacks are called when the user traverses to the widget. <<<<MMMMaaaapppp>>>>: Calls the callbacks for XXXXmmmmNNNNmmmmaaaappppCCCCaaaallllllllbbbbaaaacccckkkk. <<<<UUUUnnnnmmmmaaaapppp>>>>: Calls the callbacks for XXXXmmmmNNNNuuuunnnnmmmmaaaappppCCCCaaaallllllllbbbbaaaacccckkkk. VVVViiiirrrrttttuuuuaaaallll BBBBiiiinnnnddddiiiinnnnggggssss The bindings for virtual keys are vendor specific. For information about bindings for virtual buttons and keys, see VVVViiiirrrrttttuuuuaaaallllBBBBiiiinnnnddddiiiinnnnggggssss(3). RRRREEEELLLLAAAATTTTEEEEDDDD CCCCoooommmmppppoooossssiiiitttteeee(3), CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt(3), CCCCoooorrrreeee(3), XXXXmmmmCCCCrrrreeeeaaaatttteeeeBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd(3), XXXXmmmmCCCCrrrreeeeaaaatttteeeeBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrddddDDDDiiiiaaaalllloooogggg(3), XXXXmmmmDDDDiiiiaaaallllooooggggSSSShhhheeeellllllll(3), and XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr(3). Page 9 (printed 4/6/01)